/**
 * 
 */
package neptune.web.client.view;

/**
 * @author Roberto Bifulco [info@robertobifulco.it, robertobifulco.it]
 * 
 */
public interface HasHistoryToken {

	public String getToken();

	/**
	 * Returns the token with the given state string postponed in the history
	 * token format. This format can be red by the HistoryTokenUtils class'
	 * methods.
	 * 
	 * @param stateId
	 * @return
	 * @see neptune.web.view.HistoryTokenUtils
	 */
	public String getToken(String stateId);

	public String getPrefix();

	public void setPrefix(String prefix);

}
